package com.qf.dao;

import com.qf.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lixu
 */
public interface StudentDao {
    List<Student> findManyToMany();

    List<Student> findStudentByQuery(@Param("name") String name,@Param("sex") String sex,@Param("course") String course);

    List<Student> findStudentByQueryTrim(@Param("name") String name,@Param("sex") String sex,@Param("course") String course);

    void insertBatch(List<Student> studentList);

    List<Student> findStudentListByLimit();
}
